import request from '@/utils/request'

export function List(query) {
  return request({
    url: '/tongji/list',
    method: 'get',
    params: query
  })
}

export function months(query) {
  return request({
    url: '/tongji/month',
    method: 'get',
    params: query
  })
}

// 项目图文简介信息
export function project(query) {
  return request({
    url: '/project/info',
    method: 'get',
    params: query
  })
}

// 水质数据
export function getWaterQuality(query) {
  return request({
    url: '/water/getWaterQuality',
    method: 'get',
    params: query
  })
}

// 耗电量数据
export function eletricData(query) {
  return request({
    url: '/electric/getEletricData',
    method: 'get',
    params: query
  })
}

// 参数统计
export function waterParameter(query) {
  return request({
    url: '/water/getParameter',
    method: 'get',
    params: query
  })
}
// 参数统计-电数据
export function electricTotal(query) {
  return request({
    url: '/electric/electricTotal',
    method: 'get',
    params: query
  })
}
export function years(query) {
  return request({
    url: '/tongji/year',
    method: 'get',
    params: query
  })
}
